package com.agy.filemanager.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 上传文件列表
 */
@Data
@Table(name="DC_DOC_FILE_FILEINFO")
public class FileInfo {
    @Id
    @TableId("ID")
    private String id;

    @TableField("FILENAME")
    private String filename;

    @TableField("CONTENTTYPE")
    private String contenttype;

    @TableField("SIZE")
    private BigDecimal size;

    @TableField("PATH")
    private String path;

    @TableField("PROJECTID")
    private String projectid;

    @TableField("DOC_TYPEID")
    private String docTypeid;

    @TableField("ORGID")
    private String orgid;

    @TableField("UPLOADTIME")
    private Date uploadtime;

    @TableField("VERSION")
    private String version;

    @TableField("ISYES")
    private Boolean isyes;
}